package com.yy.qpgame.server.util;

public class ProtoCode {

    private int protocode = 0;

    private static ProtoCode instance;
    private static byte[] lock = new byte[0];

    public ProtoCode() {

    }

    public static ProtoCode Instance() {

        if (instance == null) {

            synchronized (lock) {
                instance = new ProtoCode();
            }
        }

        return instance;
    }

    public int getProtocode() {
        return protocode;
    }

    public void setProtocode(int protocode) {
        this.protocode = protocode;
    }
}
